/*
* ============================================================================
*  Name        : example_005.h
*  Part of     : Finite state machine examples
*  Description : Class definition
*  Version     : %version: %
*  
*
* ============================================================================
*/
#if !defined(  __sm_example_005_h__ )
#define __sm_example_005_h__

#include <sea_statemachine>

// sea:: State Event Action namespace
using namespace sea;

/**
 * @file example_005.h
 * @brief Create two state machines to demo Parent-Child relationship 
 *
 *
 * @ingroup StateMachineExamples
 *
 */
namespace sea_examples
{
    /**
     * @class Parent
     * @brief \b Examples: Parent listents Child events
     *
     * @ingroup StateMachineExamples
     */
    class Parent : public StateMachine
    {
    public:
        Parent( ) : StateMachine( STATEMACHINE_NAME ){ }
    };

    /**
     * @class Child
     * @brief \b Examples: Child listents Parent events
     */
    class Child : public StateMachine
    {
    public:
        Child( ) : StateMachine( STATEMACHINE_NAME ){ }
    };

    void launch_example_005( );
    void launch_example_0051( );
    void launch_example_0052( );
}

#endif
